package javaBase.nowcoder.HJ21_B_简单密码;

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class HJ21 {
    public static void main(String args[]) {
        BufferedReader b = new BufferedReader(new InputStreamReader(System.in));
        String str;
        StringBuffer sb = new StringBuffer();
        try {
            str = b.readLine();
            String[] chars = str.split("");
            for (int i = 0; i < chars.length; i++) {
                String s = chars[i];
                if ("abc".contains(s)) {
                    sb.append("2");
                } else if ("def".contains(s)) {
                    sb.append("3");
                } else if ("ghi".contains(s)) {
                    sb.append("4");
                } else if ("jkl".contains(s)) {
                    sb.append("5");
                } else if ("mno".contains(s)) {
                    sb.append("6");
                } else if ("pqrs".contains(s)) {
                    sb.append("7");
                } else if ("tuv".contains(s)) {
                    sb.append("8");
                } else if ("tuv".contains(s)) {
                    sb.append("8");
                } else if ("wxyz".contains(s)) {
                    sb.append("9");
                } else if ("Z".equals(s)) {
                    sb.append("A".toLowerCase());
                } else if (s.charAt(0) >= 'A' && s.charAt(0) < 'Z') {
                    s = (char) (s.charAt(0) + 1) + "";
                    sb.append(s.toLowerCase());
                } else {
                    sb.append(s);
                }
            }
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            try {
                b.close();
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
        System.out.println(sb);
    }
}
